#include "simpleclientthread.h"


SimpleClientThread::SimpleClientThread()
{

}

void SimpleClientThread::run()
{
    std::string url = "tcp://192.168.0.161:8976";
    std::string identity = "2";
    std::string message = "LOGIN:STANDBY";
    int res = simple_client(url, identity, &client_message_call_back,message);
    if(-1 == res){
        cout<<"无法连接服务器"<<endl;
    }else if(0 == res){
        cout<<"发送成功"<<endl;
    }


}
